//go:build wireinject
// +build wireinject

package wire

import (
	"github.com/google/wire"
)

var ProviderSet = wire.NewSet(NewMySqlData, NewGroupService, NewApp)

func InitApp() *App {
	wire.Build(ProviderSet, InitUserService)
	return nil
}

func InitUserService() UserService {
	wire.Build(NewMySqlData, NewRedisData, NewUserService)
	return nil
}
